import request from "@/utils/request";

enum Enum {
   uploadAPI = "/upload/image"
}

/**
 * @description 上传图片的接口
 * */
export const uploadAPI = (file: File) => request.post(Enum.uploadAPI, { file });
